﻿using LiveCharts;
using Ping9719.WpfEx.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace AutoFlatnessTest.ViewModel
{
    public class UcDataChartVModel : BindableBase
    {
        private Visibility vis = Visibility.Collapsed;
        /// <summary>
        /// 显示无法连接
        /// </summary>
        public Visibility Vis
        {
            get { return vis; }
            set { vis = value; RaisePropertyChanged(nameof(Vis)); }
        }


        private SeriesCollection seriesCollection;

        public SeriesCollection SeriesCollection
        {
            get { return seriesCollection; }
            set { seriesCollection = value; RaisePropertyChanged(nameof(SeriesCollection)); }
        }

        private string[] labels;

        public string[] Labels
        {
            get { return labels; }
            set { labels = value; RaisePropertyChanged(nameof(Labels)); }
        }

        private string xTitle;

        public string XTitle
        {
            get { return xTitle; }
            set { xTitle = value; RaisePropertyChanged(nameof(XTitle)); }
        }


        private List<int> nian;

        public List<int> Nian
        {
            get { return nian; }
            set { nian = value; RaisePropertyChanged(nameof(Nian)); }
        }

        private List<int> yue;

        public List<int> Yue
        {
            get { return yue; }
            set { yue = value; RaisePropertyChanged(nameof(Yue)); }
        }

    }
}
